inversions of four bar chain